package com.xuecheng.media;

import com.xuecheng.media.config.threadpool.EnableThreadPool;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(basePackages  = "com.xuecheng.media.client")
@MapperScan("com.xuecheng.content.mapper")
@EnableThreadPool
public class MediaApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(MediaApiApplication.class, args);
    }

}

